using System;
using System.Collections.Generic;
using System.Text;

namespace PSE.Hosting.ServiceHoster.Business
{
    [Serializable]
    public class EndpointInfoData
    {
        [NonSerialized]
        private string[] _availableBindingConfigurations;

        public string[] AvailableBindingConfigurations
        {
            get { return _availableBindingConfigurations; }
            set { _availableBindingConfigurations = value; }
        }

        private string _address;

        /// <summary>
        /// The Service Address 
        /// </summary>
        public string Address
        {
            get { return _address; }
            set { _address = value; }
        }

        private string _binding;

        /// <summary>
        /// The binding type used for the service.
        /// </summary>
        public string Binding
        {
            get { return _binding; }
            set { _binding = value; }
        }

        private string _bindingConfiguration;

        /// <summary>
        /// The binding configuration used for the service.
        /// </summary>
        public string BindingConfiguration
        {
            get { return _bindingConfiguration; }
            set { _bindingConfiguration = value; }
        }

        private string _contract;

        /// <summary>
        /// The service contract used for the service.
        /// </summary>
        public string Contract
        {
            get { return _contract; }
            set { _contract = value; }
        }
    }
}
